var app = getApp();

Page({
    data: {},
    onLoad: function(t) {
        var a = this,
            e = wx.getStorageSync("sjdsjid"),
            o = wx.getStorageSync("users").id;
            app.setNavigationBarColor(this),
            app.sjdpageOnLoad(this),
            app.util.request({
                url: "entry/wxapp/StoreInfo",
                cachetime: "0",
                data: {
                    store_id: e
                },
                success: function(t) {
                    a.setData({
                        storeinfo: t.data,
                        user_id: o
                    });
                }
            });
    },
    onShow: function() {
        if (this.data.isOnShow) {
            this.onLoad();
        }
        this.setData({
            isOnShow: true
        });
    },
});